<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<script src="layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<link rel="stylesheet" type="text/css" href="layui/css/layui.css" />
	<link rel="stylesheet" type="text/css" href="css/tab.css" />
	<!-- <link rel="stylesheet" type="text/css" href="css/header1.css" /> -->
	<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
	<body>


		
		<div class="layui-side" id="tab">
			
			<div class="container-fluid">
				<div id="tubiao">
					<img src="img/M.png" />
				</div>
				<div id="xx">
					<h4><a href="index.html">首页</a></h4>
					<h5>
						<a href="tab.html"><i class="iconfont icon-shouye1"></i></a>
						<a href="shopcart.html"><i class="iconfont icon-shouye2"></i></a>
					</h5>
				</div>
			</div>
			
			<div class="layui-side-scroll">
				<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
				<ul class="layui-nav layui-nav-tree" lay-filter="test">
					<!-- 侧边导航: <ul class="layui-nav layui-nav-tree layui-nav-side"> -->
					<li class="layui-nav-item">
						<a href="javascript:;" data-index="myorder.html">我的订单</a>
					</li>
					<!-- <li class="layui-nav-item">
					    <a href="javascript:;" data-index="myinfo.html">个人信息</a>
					  </li> -->
					<li class="layui-nav-item">
						<a href="javascript:;" data-index="addressInfo.html">收货地址</a>
					</li>
			
				</ul>
			</div>
		</div>
		
		<div class="layui-body">
			<!-- 内容主体区域 -->
			<div class="layui-body" id="LAY_app_body">
				<div class="layadmin-tabsbody-item layui-show">
					<iframe src="myorder.html" frameborder="0" class="layadmin-iframe" style="width: 100%;height: 1000px;"></iframe>
				</div>
			</div>
		</div>



		<script>
			//JavaScript代码区域
			layui.use('element', function() {
				var element = layui.element;

				layui.jquery(".layui-side-scroll a").each(function(index, el) {

					layui.jquery(el).click(function() {

						layui.jquery(".layui-body iframe").attr("src", layui.jquery(this).attr("data-index"))

					})

				})
			});
		</script>
	</body>
</html>
